package kd.cosmic;

import kd.cosmic.server.Launcher;

/**
 * 启动本地应用程序(微服务节点)
 */
public class Application {

    public static void main(String[] args) {
        String Server_IP="10.224.113.30";//开发
        Launcher cosmic = new Launcher();
        cosmic.setConfigUrl(Server_IP+":2181","holsin","holsin@2024");
        cosmic.setClusterNumber("holsin");
        cosmic.setTenantNumber("holsin-dev");
        cosmic.setServerIP("10.224.113.30");
        cosmic.set("attachmentServer.url", "http://" + Server_IP + ":30003/fileserver/");
        cosmic.set("imageServer.url", "http://" + Server_IP + ":30003/fileserver/");
        cosmic.setAppName("cosmic-WT-t5W7ujV7");
        cosmic.setWebPath("D:/KingdeeCode/CQ/HC_Dev-server/webapp");


        cosmic.setStartWithQing(false);

        cosmic.start();
    }
}